package com.carleasoft.mps.qa.business.anwser.bean.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 问卷答题信息表
 * @author: yangHao
 * @createDate:2023/7/21
 * @description:
 */
@Data
@TableName("q_naire_record")
public class NaireRecordEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    /**
     * id
     */
    private Long id;

    /**
     * 编码
     */
    private String recordCode;

    /**
     * 问卷编码
     */
    private String naireCode;

    /**
     * 答案
     */
    private String answer;

    /**
     * 分数
     */
    private String score;

    /**
     * 用户
     */
    private String createPersonCode;

    /**
     * 用户编码
     */
    private String createPersonName;

    /**
     * 答题时间
     */
    private LocalDateTime createTime;

    /**
     * 答题时长
     */
    private String timeLength;

    /**
     * IP地址
     */
    private String ipAddress;
}
